﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Database.Repositories
{
    public interface IRepository<T> 
    {

        Guid Create(T dto);
        T Read(Guid id);
        bool Update(T dto);
        bool Delete(Guid id);
        bool DeleteAll();
    }
}
